Platform Explorer / Nuxeo Platform 2023.14

Contribution org.nuxeo.ecm.webapp.layouts.search.contrib--widgets

This contribution is part of XML component org.nuxeo.ecm.webapp.layouts.search.contrib inside nuxeo-platform-webapp-base-2023.14.23.jar /OSGI-INF/search-layouts-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Registration Order

6
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="search_title" type="text">
          <labels>
            <label mode="any">label.dublincore.title</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:title</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="search_description" type="text">
          <labels>
            <label mode="any">label.dublincore.description</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:description</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="search_nature" type="suggestManyDirectory">
          <labels>
            <label mode="any">label.dublincore.nature</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:nature</field>
          </fields>
          <properties mode="any">
            <property name="width">100%</property>
            <property name="minChars">0</property>
            <property name="hideHelpLabel">true</property>
            <property name="directoryName">nature</property>
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="search_subjects" type="suggestManyDirectory">
          <labels>
            <label mode="any">label.dublincore.subject</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:subjects</field>
          </fields>
          <properties mode="any">
            <property name="width">100%</property>
            <property name="dbl10n">true</property>
            <property name="minChars">0</property>
            <property name="hideHelpLabel">true</property>
            <property name="directoryName">l10nsubjects</property>
          </properties>
        </widget>
  • <widget name="search_rights" type="text">
          <labels>
            <label mode="any">label.dublincore.rights</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:rights</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="search_source" type="text">
          <labels>
            <label mode="any">label.dublincore.source</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:source</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="search_coverage" type="suggestManyDirectory">
          <labels>
            <label mode="any">label.dublincore.coverage</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:coverage</field>
          </fields>
          <properties mode="any">
            <property name="width">100%</property>
            <property name="dbl10n">true</property>
            <property name="minChars">0</property>
            <property name="hideHelpLabel">true</property>
            <property name="directoryName">l10ncoverage</property>
          </properties>
        </widget>
  • <widget name="search_created_min" type="datetime">
          <labels>
            <label mode="any">label.dublincore.creationDateBetween</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:created_min</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
            <property name="defaultTime">00:00</property>
          </properties>
        </widget>
  • <widget name="search_created_max" type="datetime">
          <labels>
            <label mode="any">label.search.and</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:created_max</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
            <property name="defaultTime">23:59</property>
          </properties>
        </widget>
  • <widget name="search_modified_min" type="datetime">
          <labels>
            <label mode="any">label.dublincore.modificationDateBetween</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:modified_min</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
            <property name="defaultTime">00:00</property>
          </properties>
        </widget>
  • <widget name="search_modified_max" type="datetime">
          <labels>
            <label mode="any">label.search.and</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:modified_max</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
            <property name="defaultTime">23:59</property>
          </properties>
        </widget>
  • <widget name="search_issued_min" type="datetime">
          <labels>
            <label mode="any">label.dublincore.issueDateBetween</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:issued_min</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
            <property name="defaultTime">00:00</property>
          </properties>
        </widget>
  • <widget name="search_issued_max" type="datetime">
          <labels>
            <label mode="any">label.search.and</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:issued_max</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
            <property name="defaultTime">23:59</property>
          </properties>
        </widget>
  • <widget name="search_validated_min" type="datetime">
          <labels>
            <label mode="any">label.dublincore.validationDateBetween</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:valid_min</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
            <property name="defaultTime">00:00</property>
          </properties>
        </widget>
  • <widget name="search_validated_max" type="datetime">
          <labels>
            <label mode="any">label.search.and</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:valid_max</field>
          </fields>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
            <property name="defaultTime">23:59</property>
          </properties>
        </widget>
  • <widget name="search_expired_min" type="datetime">
          <labels>
            <label mode="any">label.dublincore.expirationDateBetween</label>
          </labels>
          <fields>
            <field>search:expired_min</field>
          </fields>
          <translated>true</translated>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
            <property name="defaultTime">00:00</property>
          </properties>
        </widget>
  • <widget name="search_expired_max" type="datetime">
          <labels>
            <label mode="any">label.search.and</label>
          </labels>
          <fields>
            <field>search:expired_max</field>
          </fields>
          <translated>true</translated>
          <properties widgetMode="any">
            <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
            <property name="defaultTime">23:59</property>
          </properties>
        </widget>
  • <widget name="search_format" type="text">
          <labels>
            <label mode="any">label.dublincore.format</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:format</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="search_path" type="select_path_tree">
          <labels>
            <label mode="any">label.advanced_search.searchpath</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:searchpath</field>
          </fields>
          <properties>
            <property name="labelOpenPopUp">label.relation.addPath</property>
          </properties>
        </widget>
  • <widget name="search_language" type="text">
          <labels>
            <label mode="any">label.dublincore.language</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:language</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="search_deleted_documents" type="template">
          <labels>
            <label mode="any">label.search.deleted.documents</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>search:currentLifeCycleState</field>
          </fields>
          <properties mode="any">
            <property name="template">
              /widgets/search_deleted_documents_widget.xhtml
            </property>
          </properties>
          <widgetModes>
            <mode value="any">
              #{nxu:test(deleteActions.trashManagementEnabled, mode, 'hidden')}
            </mode>
          </widgetModes>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="search_title" type="text">
      <labels>
        <label mode="any">label.dublincore.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:title</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="search_description" type="text">
      <labels>
        <label mode="any">label.dublincore.description</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:description</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="search_nature" type="suggestManyDirectory">
      <labels>
        <label mode="any">label.dublincore.nature</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:nature</field>
      </fields>
      <properties mode="any">
        <property name="width">100%</property>
        <property name="minChars">0</property>
        <property name="hideHelpLabel">true</property>
        <property name="directoryName">nature</property>
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="search_subjects" type="suggestManyDirectory">
      <labels>
        <label mode="any">label.dublincore.subject</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:subjects</field>
      </fields>
      <properties mode="any">
        <property name="width">100%</property>
        <property name="dbl10n">true</property>
        <property name="minChars">0</property>
        <property name="hideHelpLabel">true</property>
        <property name="directoryName">l10nsubjects</property>
      </properties>
    </widget>

    <widget name="search_rights" type="text">
      <labels>
        <label mode="any">label.dublincore.rights</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:rights</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="search_source" type="text">
      <labels>
        <label mode="any">label.dublincore.source</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:source</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="search_coverage" type="suggestManyDirectory">
      <labels>
        <label mode="any">label.dublincore.coverage</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:coverage</field>
      </fields>
      <properties mode="any">
        <property name="width">100%</property>
        <property name="dbl10n">true</property>
        <property name="minChars">0</property>
        <property name="hideHelpLabel">true</property>
        <property name="directoryName">l10ncoverage</property>
      </properties>
    </widget>

    <widget name="search_created_min" type="datetime">
      <labels>
        <label mode="any">label.dublincore.creationDateBetween</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:created_min</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
        <property name="defaultTime">00:00</property>
      </properties>
    </widget>

    <widget name="search_created_max" type="datetime">
      <labels>
        <label mode="any">label.search.and</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:created_max</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
        <property name="defaultTime">23:59</property>
      </properties>
    </widget>

    <widget name="search_modified_min" type="datetime">
      <labels>
        <label mode="any">label.dublincore.modificationDateBetween</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:modified_min</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
        <property name="defaultTime">00:00</property>
      </properties>
    </widget>

    <widget name="search_modified_max" type="datetime">
      <labels>
        <label mode="any">label.search.and</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:modified_max</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
        <property name="defaultTime">23:59</property>
      </properties>
    </widget>

    <widget name="search_issued_min" type="datetime">
      <labels>
        <label mode="any">label.dublincore.issueDateBetween</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:issued_min</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
        <property name="defaultTime">00:00</property>
      </properties>
    </widget>

    <widget name="search_issued_max" type="datetime">
      <labels>
        <label mode="any">label.search.and</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:issued_max</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
        <property name="defaultTime">23:59</property>
      </properties>
    </widget>

    <widget name="search_validated_min" type="datetime">
      <labels>
        <label mode="any">label.dublincore.validationDateBetween</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:valid_min</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
        <property name="defaultTime">00:00</property>
      </properties>
    </widget>

    <widget name="search_validated_max" type="datetime">
      <labels>
        <label mode="any">label.search.and</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:valid_max</field>
      </fields>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
        <property name="defaultTime">23:59</property>
      </properties>
    </widget>

    <widget name="search_expired_min" type="datetime">
      <labels>
        <label mode="any">label.dublincore.expirationDateBetween</label>
      </labels>
      <fields>
        <field>search:expired_min</field>
      </fields>
      <translated>true</translated>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
        <property name="defaultTime">00:00</property>
      </properties>
    </widget>

    <widget name="search_expired_max" type="datetime">
      <labels>
        <label mode="any">label.search.and</label>
      </labels>
      <fields>
        <field>search:expired_max</field>
      </fields>
      <translated>true</translated>
      <properties widgetMode="any">
        <property name="pattern">#{nxu:basicDateAndTimeFormatter()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
        <property name="defaultTime">23:59</property>
      </properties>
    </widget>

    <widget name="search_format" type="text">
      <labels>
        <label mode="any">label.dublincore.format</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:format</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="search_path" type="select_path_tree">
      <labels>
        <label mode="any">label.advanced_search.searchpath</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:searchpath</field>
      </fields>
      <properties>
        <property name="labelOpenPopUp">label.relation.addPath</property>
      </properties>
    </widget>

    <widget name="search_language" type="text">
      <labels>
        <label mode="any">label.dublincore.language</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:language</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="search_deleted_documents" type="template">
      <labels>
        <label mode="any">label.search.deleted.documents</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>search:currentLifeCycleState</field>
      </fields>
      <properties mode="any">
        <property name="template">
          /widgets/search_deleted_documents_widget.xhtml
        </property>
      </properties>
      <widgetModes>
        <mode value="any">
          #{nxu:test(deleteActions.trashManagementEnabled, mode, 'hidden')}
        </mode>
      </widgetModes>
    </widget>

  </extension>